﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.quest.Display {
    import org.aswing.event.*;

    public class WelcomeTrainDialog extends QuestGuideDialog {

        protected var m_customPickUrl:String;
        protected var m_questName:String;

        public function WelcomeTrainDialog(_arg1:Object=null, _arg2:Boolean=false){
            super(_arg1, _arg2);
            this.m_customPickUrl = _arg1.customPickUrl;
            this.m_questName = _arg1.name;
        }
        override protected function onPanelClick(_arg1:AWEvent):void{
            super.onPanelClick(_arg1);
            Global.world.citySim.trainManager.purchaseWelcomeTrain();
        }

    }
}//package Modules.quest.Display 
